package com.tinyseed.emcp.api.basicdata.model;

import com.google.common.collect.Lists;
import com.tinyseed.hmxx.common.annotation.Query;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/***
 * @ClassName: VrealtimeMonitorInputDTO
 * @Description: TODO
 * @Auther: Harlan.Xiong
 * @Date: 2019-12-23 19:08
 * @version : V1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VrealtimeMonitorInputDTO implements Serializable {

    /**
     * 企业名称
     */
    @Query(type = Query.Type.INNER_LIKE)
    private String enterpriseName;

    /**
     * 组织机构
     */
    @Query(propName = "organizeId", type = Query.Type.IN)
    private List<Long> organizeIds = Lists.newArrayList();

    private Long organizeId;

    /**
     * 行业Code
     */
    @Query(type = Query.Type.EQUAL)
    private String industryCode;

    /**
     * 生产状态
     */
    @Query(type = Query.Type.EQUAL)
    private String produceStatus;
}
